import java.awt.Color;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;

import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class MenuPanelA extends JPanel {
	public ButtonPanelA a, b, c, d, e, f;
	public int size;
	private Output o;
	public MenuPanelA(Output arg1) {
		o = arg1;
		
		this.setBackground(Color.black);
		this.setBorder(BorderFactory.createMatteBorder(10, 10, 10, 10,
			new Color(55, 55, 55)));
		//this.setLayout(new FlowLayout());
		this.setLayout(new GridBagLayout());
		GridBagConstraints gbc = new GridBagConstraints();
		gbc.fill = GridBagConstraints.HORIZONTAL;
		gbc.anchor = GridBagConstraints.CENTER;
		gbc.weightx = 0.5;
		size = 25;
		
		a = new ButtonPanelA("", size, o);
		this.add(a, gbc);

		b = new ButtonPanelA("", size, o);
		gbc.gridx = 1;
		this.add(b, gbc);
		
		c = new ButtonPanelA("", size, o);
		gbc.gridx = 2;
		this.add(c, gbc);
		
		d = new ButtonPanelA("", size, o);
		gbc.gridx = 3;
		this.add(d, gbc);
		
		e = new ButtonPanelA("", size, o);
		gbc.gridx = 4;
		this.add(e, gbc);
		
		f = new ButtonPanelA("", size, o);
		gbc.gridx = 5;
		this.add(f, gbc);
	}
}
